<!DOCTYPE html>
<html lang = "zh-cmn-Hans" >
<head >
	<meta charset = "UTF-8" >
	<title >Title</title >
	<script src="js/http.js"></script>
	<script src="js/jquery.min.js"></script>
</head >
<body >
支付成功！2秒后关闭本页面
</body >
</html >

<script>
	$(function (){
		$.ajax({
			type:"post",
			url:"http://localhost:8080/netdisc/user/order/paid",
			success: function (resp) {
				show(resp)
			}
		})
	});
	
	function show(resp){
		alert(resp.message);
	}

</script>

<script type="text/javascript">
	onload=function(){
		setTimeout(go, 2500);
	};
	function go(){
		location.href="http://localhost:8080/netdisc/views/view-api/index.html";
	}
</script>

